# . alias.sh
#等价
alias db1-mysql="$(cat <<'EOF'
mysql -h localhost -udbuser -p'Rms&BtJXHE#j8)4' -A db1
EOF
)"
alias db2-mysql='mysql -h localhost -udbuser -p'\''dq@Ejb!X@bs$LTOD'\'' -A db2'

alias metrics='curl -G localhost:8080/metrics | python -c '\''
import sys
import json
str=""
for line in sys.stdin:
    str+=line
    print json.dumps(json.loads(str), ensure_ascii=False, indent=4, sort_keys=True)
'\'''
